<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
	xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content">
		<div class="btn-group hidden-xs" id="tableToolbar" role="group">
			<button type="button" class="btn btn-outline btn-default"
				th:onclick="'javascript:add()'"
				shiro:hasPermission="blog:blogcontent:add">
				<i class="glyphicon glyphicon-plus"></i>新增文章
			</button>
			<button type="button" class="btn btn-outline btn-default"
				th:onclick="'javascript:batchRemove()'"
				shiro:hasPermission="blog:blogcontent:batchRemove">
				<i class="glyphicon glyphicon-trash"></i>删除文章
			</button>
		</div>
		<table class="bootstrap-table" data-mobile-responsive="true">
		</table>
		<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
		<!--  <div>
        <script type="text/javascript">
            var s_edit_h = 'hidden';
            var s_remove_h = 'hidden';
        </script>
    </div>
    <div shiro:hasPermission="blog:bContent:edit">
        <script type="text/javascript">
            s_edit_h = '';
        </script>
    </div>
    <div shiro:hasPermission="blog:bContent:remove">
        <script type="text/javascript">
            var s_remove_h = '';
        </script>
    </div> -->
	</div>
	<div th:include="include :: footer"></div>
	<script src="/rzspider/blog/blogcontent/blogcontent.js"
		th:src="@{/rzspider/blog/blogcontent/blogcontent.js}"></script>
	<script th:inline="javascript">
        var editFlag = [[${@permissionService.hasPermi('blog:blogcontent:edit')}]];
        var removeFlag = [[${@permissionService.hasPermi('blog:blogcontent:remove')}]];
    </script>
</body>
</html>